package com.ruoyi.djb.mapper;

import com.ruoyi.djb.domain.DjbRelease;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 登记管理Mapper接口
 * 
 * @author xxd
 * @date 2023-12-08
 */
public interface DjbReleaseMapper
{
    /**
     * 查询登记管理
     * 
     * @param id 登记管理主键
     * @return 登记管理
     */
    public DjbRelease selectDjbReleaseById(Integer id);

    /**
     * 查询登记管理列表
     * 
     * @param djbRelease 登记管理
     * @return 登记管理集合
     */
     List<DjbRelease> selectDjbReleaseList(DjbRelease djbRelease);

     List<DjbRelease> selectHalfYearThreeTimeReleaseList(DjbRelease djbRelease);

     List<DjbRelease> selectGateDjbReleaseList(DjbRelease djbRelease);
     List<DjbRelease> selectAdminDjbReleaseList(DjbRelease djbRelease);
     List<DjbRelease> selectAdminWuyeReleaseList(@Param("ids") String[] ids, @Param("djbRelease") DjbRelease djbRelease);

    /**
     * 新增登记管理
     * 
     * @param djbRelease 登记管理
     * @return 结果
     */
    public int insertDjbRelease(DjbRelease djbRelease);

    /**
     * 修改登记管理
     * 
     * @param djbRelease 登记管理
     * @return 结果
     */
    public int updateDjbRelease(DjbRelease djbRelease);

    /**
     * 删除登记管理
     * 
     * @param id 登记管理主键
     * @return 结果
     */
    public int deleteDjbReleaseById(Integer id);

    /**
     * 批量删除登记管理
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteDjbReleaseByIds(String[] ids);
}
